package com.zretc.entity;

import org.springframework.stereotype.Component;

@Component
public class Director {
    //导演id
    private String directorId;
    //导演姓名
    private String directorName;

    public Director() {
    }

    public Director(String directorId, String directorName) {
        this.directorId = directorId;
        this.directorName = directorName;
    }

    public String getDirectorId() {
        return directorId;
    }

    public void setDirectorId(String directorId) {
        this.directorId = directorId;
    }

    public String getDirectorName() {
        return directorName;
    }

    public void setDirectorName(String directorName) {
        this.directorName = directorName;
    }

    @Override
    public String toString() {
        return "Director{" +
                "directorId='" + directorId + '\'' +
                ", directorName='" + directorName + '\'' +
                '}';
    }
}
